﻿#define _CRT_SECURE_NO_WARNINGS
#include <easyx.h>
#include <stdio.h>
#include "hero.h"
#include "gameloop.h"

int main()
{
	initgraph(422, 750);
	setbkcolor(WHITE);
	cleardevice();

	hero h;
	heroInit(&h);
	gameLoop((sprite*)&h, 60);
	//gameLoop((sprite*)&h);
	heroDestroy(&h);



	closegraph();
	return 0;
}
